package ucm.controller;

import java.security.NoSuchAlgorithmException;
import ucm.module.UC_BuyM;


public class UC_BuyC {
   private String id = null;
   private String count = null;
   private String userid = null;

    public UC_BuyC(String id, String count,String userid) throws NoSuchAlgorithmException {
        this.id = id;
        this.count = count;
        this.userid = userid;
    }


    public boolean run()
    {
        UC_BuyM uc_bm = new UC_BuyM();
        return uc_bm.buy(id,count,userid);
    }
}
